* {
  margin: 0;
  padding: 0;
  font-size: 18px;
}

.style1 {
  --Color1: #14142B;
  --Color2: #36334e;
  --Color3: #666;
  --Color4: #999;
  --Color5: #ccc;
  --Color6: #fff;
  --TopicGreen: #28A745;
  --TopicRed: #B10000;
  --TopicBule: #0096B7;
  --FontDark: #000;
  --FontLight: #fff;
  --FontGray: #aaa;
  --Shadow: #000;
  --Diolog: var(--Color5)
}

.style2 {
  --Color1: #151515;
  --Color2: #A13351;
  --Color3: #3F1621;
  --Color4: #602031;
  --Color5: #802A41;
  --Color6: #ddd;
  --TopicGreen: #03cc32;
  --TopicRed: #8b0000;
  --TopicBule: #0064c2;
  --FontDark: #000;
  --FontLight: #fff;
  --FontGray: #aaa;
  --Shadow: #f00;
  --Diolog: var(--Color2)
}

.style3 {
  --Color1: #020303;
  --Color2: #dd9207;
  --Color3: #573209;
  --Color4: #084e31;
  --Color5: #325179;
  --Color6: #0a0806;
  --TopicGreen: #2b793d;
  --TopicRed: #8b0000;
  --TopicBule: #0064c2;
  --FontDark: #fff;
  --FontLight: #aaa;
  --FontGray: #aaa;
  --Shadow: #fff;
  --Diolog: var(--Color5)
}

.style4 {
  --Color1: #000000;
  --Color2: #555454;
  --Color3: #161F3F;
  --Color4: #ccc;
  --Color5: #2A3D80;
  --Color6: #3A84BA;
  --TopicGreen: #2b793d;
  --TopicRed: #8b0000;
  --TopicBule: #0064c2;
  --FontDark: #000;
  --FontLight: #fff;
  --FontGray: #aaa;
  --Shadow: #fff;
  --Diolog: var(--Color2)
}

body {
  background-color: var(--Color2);
  /* background-image: linear-gradient(90deg, var(--Color2) 0%, var(--Color3) 50%, var(--Color2) 100%); */
}

header {
  background-color: var(--Color1);
  color: var(--FontLight);
  text-align: center;
  height: 60px;
  box-sizing: border-box;
}

h1 {
  line-height: 60px;
}

footer {
  background-color: var(--Color1);
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 60px;
  text-align: center;
  color: var(--FontGray);
}

center {
  background-color: var(--Color4);
  width: 80%;
  position: absolute;
  top: 60px;
  left: 10%;
  min-height: calc(100% - 120px);
  /* border-radius: 10px; */
  overflow: hidden;
}

#lessonSystem {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 60px;
  /* background-color: var(--TopicRed); */
}

.match-bar {
  background-color: var(--Color3);
  width: 80%;
  height: 60px;
  position: fixed;
  /* overflow: auto; */
}

select {
  width: 70%;
  height: 40px;
  outline: none;
  border-radius: 10px;
  font-size: 18px;
  background-color: var(--FontLight);
  color: var(--FontDark);
}

select option {
  font-size: 18px;
  line-height: 40px;
}

label {
  font-size: 20px;
  font-weight: 600;
  margin-right: 10px;
  color: var(--FontLight);
}

#match-form {
  position: relative;
  top: 10px;
  /* width: 100%; */
  /* background-color: #aa0000; */
}

.match-item {
  width: 30%;
  margin: 0px 2%;
  position: absolute;
}

.match-item:nth-child(1) {
  left: 0px;
}

.match-item:nth-child(2) {
  left: 33%;
  display: none;
}

.searchBar {
  top: -50px;
  left: 0px;
  height: 60px;
  width: 90%;
  margin: 0px 2%;
  position: absolute;
  z-index: 88;
}

#searchInput {
  position: absolute;
  left: 10%;
  width: 70%;
  height: 40px;
  border-radius: 10px;
  line-height: 40px;
  padding-left: 10px;
  background-color: var(--FontLight);
  color: var(--FontDark);
}

#search {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 85%;
  line-height: 40px;
  background-color: var(--TopicBule);
  color: var(--TopicBule);
  border-radius: 10px;
  transition: 0.5s;
}

#search:hover {
  background-color: var(--TopicGreen);
  box-shadow: 0 0 15px var(--Shadow);
}

#search svg {
  margin-top: 7px;
}

#search-match {
  position: absolute;
  width: 66%;
  padding: 0 2%;
  /* height: 400px; */
  background-color: #fff;
  top: 40px;
  left: calc(10% + 5px);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 8px 15px var(--Shadow);
  z-index: 999;
  display: none;
}

.search-match-item {
  width: calc(100% - 20px);
  height: 40px;
  position: relative;
  border-top: 1px solid var(--FontGray);
  line-height: 40px;
  color: var(--FontDark);
  text-align: left;
  padding: 0 10px;
  border-radius: 10px;
}

.search-match-item:hover {
  color: var(--FontLight);
  background-color: var(--Color1);
}

button {
  width: 100px;
  height: 40px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  transition: 0.5s;
  font-weight: bold;
  max-width: 40%;
}

button:hover {
  /* background-color: rgba(247, 132, 0, 0.644) !important; */
  color: var(--FontLight);
  box-shadow: 0px 0px 5px var(--Shadow);
}

.submitButton {
  position: absolute;
  right: 50px;
  background-color: var(--TopicGreen);
}

#result-table {
  width: 100%;
  height: calc(100% - 200px);
  background-color: var(--Color3);
  margin-top: 80px;
  overflow: auto;
}

#result-table2 {
  width: 100%;
  height: calc(100% - 200px);
  background-color: var(--Color3);
  margin-top: 80px;
  overflow: auto;
}

.tb-row {
  display: block;
  /* background-color: aqua; */
  width: 100%;
  height: 40px;
  position: relative;
  padding-bottom: 10px;
  color: var(--FontDark);
}

.tb-row:first-child {
  margin-top: 10px;
}

.tb-col {
  display: block;
  background-color: var(--Color6);
  height: 40px;
  float: left;
  margin-left: 5%;
  border-radius: 10px;
  line-height: 40px;
  overflow: hidden;
}

#result-table2 .tb-col {
  margin-left: 2%;
}

#result-table .lessonID {
  width: 20%;
}

#result-table .lessonName {
  width: 55%;
}

#result-table2 .className {
  width: 35%;
  font-size: 14px;
}

#result-table2 .lessonName {
  width: 28%;
  font-size: 14px;
}

#result-table2 .teacherName {
  width: 10%;
  font-size: 14px;
}

#result-table2 .schedule {
  width: 12%;
  font-size: 14px;
}

.deleteBtn {
  width: 24px;
  height: 24px;
  position: absolute;
  right: 8%;
  border-radius: 50%;
  top: 8px;
  background-color: var(--Color6);
  display: none;
}

.deleteBtn svg {
  top: 0px;
  left: 0;
  position: absolute;
}

.addBtn {
  width: 24px;
  height: 24px;
  position: absolute;
  right: 8%;
  border-radius: 50%;
  top: 8px;
  background-color: var(--Color6);
}

.addBtn svg {
  top: 0px;
  left: 0;
  position: absolute;
}

.diolog {
  background-color: var(--Diolog);
  width: 40%;
  height: 250px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 10000;
  color: var(--FontDark);
  border-radius: 40px;
}

.confirm {
  width: 35%;
  position: absolute;
  left: 10%;
  bottom: 10%;
  background-color: var(--TopicRed);
}

.cancle {
  width: 35%;
  position: absolute;
  right: 10%;
  bottom: 10%;
}

.warnning-word {
  width: 80%;
  margin-top: 10%;
  font-size: 24px;
}


/* 控制栏=============== */

.controlBtn {
  background-color: var(--Color1);
  color: var(--FontGray);
  margin: 0 6%;
  border-radius: 30px 30px 0 0;
  margin-top: 20px;
}

.controllerBar p {
  position: absolute;
  bottom: 66px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--FontLight);
  font-size: 20px;
  font-weight: bold;
}


/* 风格样式================================== */

.choose-style {
  width: 100px;
  height: 60px;
  /* background-color: var(--TopicBule); */
  position: absolute;
  right: 20px;
  top: 20px;
}

.choose-style>p {
  width: 60px;
  position: absolute;
  right: 100px;
  color: var(--FontLight);
}

.style-btn {
  background-image: linear-gradient(90deg, var(--Color2), var(--Color3));
  width: 60px;
  height: 30px;
  right: 40px;
  position: absolute;
  border-radius: 10px 10px 0 0;
}

.style-content {
  position: absolute;
  width: 110px;
  height: 200px;
  background-color: var(--Color5);
  z-index: 1000;
  top: 30px;
  border-radius: 0 10px 10px 10px;
  display: none;
}

.style-item {
  background-color: var(--FontLight);
  width: 100px;
  height: 40px;
  margin-left: 5px;
  margin-top: 8px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.style-item:hover {
  box-shadow: 0 0 20px var(--Shadow);
}

.style-name {
  width: 20px;
  height: 40px;
  line-height: 20px;
  font-size: 18px;
  color: var(--FontDark);
  margin-left: 5px;
}

.color-list {
  width: 72px;
  height: 40px;
  background-color: var(--FontDark);
  position: absolute;
  top: 0px;
  right: 0px;
  /* border-radius: 5px; */
}

.color-list .list1 {
  width: 72px;
  height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
}

.color-list .list2 {
  width: 72px;
  height: 20px;
  position: absolute;
  top: 20px;
  left: 0;
}

.color-list .color {
  width: 12px;
  height: 20px;
  float: left;
}


/* ________________________________ */

.list1 .color:nth-child(1) {
  background-color: var(--Color1);
}

.list1 .color:nth-child(2) {
  background-color: var(--Color2);
}

.list1 .color:nth-child(3) {
  background-color: var(--Color3);
}

.list1 .color:nth-child(4) {
  background-color: var(--Color4);
}

.list1 .color:nth-child(5) {
  background-color: var(--Color5);
}

.list1 .color:nth-child(6) {
  background-color: var(--Color6);
}


/* -- */

.list2 .color:nth-child(1) {
  background-color: var(--TopicRed);
}

.list2 .color:nth-child(2) {
  background-color: var(--TopicGreen);
}

.list2 .color:nth-child(3) {
  background-color: var(--TopicBule);
}

.list2 .color:nth-child(4) {
  background-color: var(--FontDark);
}

.list2 .color:nth-child(5) {
  background-color: var(--FontGray);
}

.list2 .color:nth-child(6) {
  background-color: var(--FontLight);
}


/* footer=============== */

#exit {
  width: 100px;
  height: 40px;
  background-color: var(--TopicRed);
  color: var(--FontLight);
  position: absolute;
  bottom: 10px;
  right: 20px;
  text-decoration: none;
  line-height: 40px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.5s ease-in;
}

#exitConfirm {
  width: 400px;
  height: 40px;
  position: absolute;
  right: -400px;
  bottom: 10px;
  transition: 0.5s ease-in;
}

#exitConfirm p {
  position: absolute;
  left: 0px;
  line-height: 40px;
}

#exitConfirm #confirmExit {
  position: absolute;
  background-color: var(--TopicRed);
  left: 170px;
}

#exitConfirm #cancelExit {
  position: absolute;
  left: 280px;
}

#diologChoose {
  position: fixed;
  width: 90vw;
  height: 40vh;
  background-color: var(--Color4);
  top: 25vh;
  left: 5vw;
  border-radius: 40px;
  display: none;
}

#closeDiologBtn {
  width: 40px;
  font-size: 30px;
  position: absolute;
  right: 5%;
  top: 10px;
  border-radius: 20px;
}

#closeDiologBtn:hover {
  background-color: var(--TopicRed);
}

#diologChoose h1 {
  color: var(--FontLight);
}

#choose-table {
  position: absolute;
  background-color: var(--Color5);
  width: 90%;
  height: 70%;
  border-radius: 40px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: auto;
}

.choose-row {
  display: block;
  /* background-color: aqua; */
  width: 100%;
  height: 40px;
  position: relative;
  padding-bottom: 10px;
  color: var(--FontDark);
  margin-top: 20px;
}

.choose-col {
  display: block;
  background-color: var(--Color6);
  height: 40px;
  float: left;
  margin-left: 3%;
  border-radius: 10px;
  line-height: 40px;
  overflow: hidden;
}

#choose-table .className {
  width: 28%;
  font-size: 14px;
}

#choose-table .lessonName {
  width: 28%;
  font-size: 14px;
}

#choose-table .teacherName {
  width: 10%;
  font-size: 14px;
}

#choose-table .schedule {
  width: 12%;
  font-size: 14px;
}

#chooseBtn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--FontDark);
  font-weight: bolder;
  font-size: 30px;
  line-height: 36px;
  transition: 0.5s;
}

#chooseBtn:hover {
  background-color: var(--TopicBule);
  color: var(--FontLight);
  box-shadow: 0 0 15px var(--Shadow);
}


/* 课程表------------------------------------------------- */

#scheduleEntry {
  position: absolute;
  left: 10px;
  top: 10px;
}

#scheduleEntry:hover {
  background-color: var(--TopicBule);
  color: var(--FontLight);
}

#schedule {
  width: 820px;
  height: 850px;
  background-color: var(--Color1);
  left: 50%;
  top: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 990;
  color: var(--FontLight);
  border-radius: 24px;
  display: none;
}

#schedule h1 {
  font-size: 48px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

#schedule-content {
  position: absolute;
  top: 30px;
}

#week-line {
  width: 660px;
  height: 40px;
  /* background-color: var(--TopicRed); */
  position: absolute;
  left: 120px;
  top: 65px;
}

#week-line p {
  width: 88px;
  position: absolute;
  overflow: hidden;
  font-size: 24px;
  line-height: 40px;
}

#week-line p:nth-child(1) {
  left: 15px;
}

#week-line p:nth-child(2) {
  left: 106px;
}

#week-line p:nth-child(3) {
  left: 197px;
}

#week-line p:nth-child(4) {
  left: 288px;
}

#week-line p:nth-child(5) {
  left: 379px;
}

#week-line p:nth-child(6) {
  left: 470px;
}

#week-line p:nth-child(7) {
  left: 561px;
}

#day-line {
  width: 40px;
  position: absolute;
  left: 45px;
  top: 150px;
}

#day-line p {
  font-size: 36px;
  position: absolute;
}

#day-line p:nth-child(1) {
  top: 40px;
}

#day-line p:nth-child(2) {
  top: 320px;
}

#day-line p:nth-child(3) {
  top: 540px;
}


/* ------------ */

#schedule-table {
  width: 670px;
  height: 670px;
  background-color: var(--Color6);
  opacity: 0.8;
  position: absolute;
  top: 120px;
  left: 120px;
  border-radius: 20px;
}

.sd-col {
  width: 86px;
  height: 670px;
  margin: 0 5px;
  position: absolute;
}

.sd-col:nth-child(1) {
  left: 15px;
}

.sd-col:nth-child(2) {
  left: 106px;
}

.sd-col:nth-child(3) {
  left: 197px;
}

.sd-col:nth-child(4) {
  left: 288px;
}

.sd-col:nth-child(5) {
  left: 379px;
}

.sd-col:nth-child(6) {
  left: 470px;
}

.sd-col:nth-child(7) {
  left: 561px;
}

.sd-row {
  background-color: #E27A7A;
  width: 86px;
  height: 115px;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  border-radius: 10px;
  overflow: hidden;
}

.sd-row:nth-child(1) {
  top: 10px;
}

.sd-row:nth-child(2) {
  top: 135px;
}

.sd-row:nth-child(3) {
  top: 275px;
}

.sd-row:nth-child(4) {
  top: 400px;
}

.sd-row:nth-child(5) {
  top: 540px;
}

.sd-row p {
  margin: 5px;
  font-size: 16px;
}

.sd-row-ac {
  display: block;
  transition: 0.5s;
  cursor: pointer;
}

.sd-row-ac:hover {
  background-color: var(--TopicGreen);
  display: block;
}

#closeScheduleBtn {
  position: absolute;
  right: 40px;
  top: 20px;
  background-color: var(--Color5);
  color: var(--FontDark);
  width: 40px;
  height: 40px;
  font-size: 30px;
  line-height: 40px;
}

#closeScheduleBtn:hover {
  background-color: var(--TopicRed);
  color: var(--FontLight);
}


/* ---------------------- */

#scheduleDiolog {
  width: 760px;
  height: 900px;
  background-color: var(--Color2);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 40px;
  display: none;
}

#scheduleDiolog p {
  width: 700px;
  height: 600px;
  position: absolute;
  overflow: hidden;
  left: 30px;
  top: 100px;
  font-size: 36px;
}

#cancelLessonBtn {
  width: 300px;
  position: absolute;
  height: 60px;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  font-size: 30px;
  line-height: 60px;
}

#cancelLessonBtn:hover {
  background-color: var(--TopicRed);
  color: var(--FontLight);
}

#closeScheduleDiologBtn {
  position: absolute;
  right: 40px;
  top: 20px;
  background-color: var(--Color5);
  color: var(--FontDark);
  width: 40px;
  height: 40px;
  font-size: 30px;
}

#closeScheduleDiologBtn:hover {
  background-color: var(--TopicRed);
  color: var(--FontLight);
}

#cancelLessonDiolog {
  background-color: var(--Diolog);
  width: 40%;
  height: 250px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 10000;
  color: var(--FontDark);
  border-radius: 40px;
}

#cancelLessonDiolog h2 {
  color: var(--FontDark);
  width: 100%;
  font-size: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 60px;
  display: block;
}

#confirmCL {
  width: 35%;
  position: absolute;
  left: 10%;
  bottom: 10%;
  background-color: var(--TopicRed);
}

#cancelCL {
  width: 35%;
  position: absolute;
  right: 10%;
  bottom: 10%;
}


/* -------------------------------- */

#StudentInfo {
  width: 300px;
  height: 40px;
  /* background-color: var(--TopicRed); */
  position: absolute;
  top: 10px;
  left: 150px;
}

#StudentInfo p {
  font-size: 24px;
  font-weight: bold;
  line-height: 40px;
  position: absolute;
}

#StudentInfo p:nth-child(1) {
  left: 0;
}

#StudentInfo p:nth-child(2) {
  left: 100px;
}